home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / TeX-inputs / LaTeX / base / fleqn.clo (.txt) < prev    next >
LaTeX Document  |  1997-03-07  |  5KB  |  116 lines

  1. %% This is file `fleqn.clo',
  2. %% generated with the docstrip utility.
  3. %% The original source files were:
  4. %% ltmath.dtx  (with options: `fleqn')
  5. %% This is a generated file.
  6. %% Copyright 1993 1994 1995 1996 1997
  7. %% The LaTeX3 Project and any individual authors listed elsewhere
  8. %% in this file.
  9. %% For further copyright information, and conditions for modification
  10. %% and distribution, see the file legal.txt, and any other copyright
  11. %% notices in this file.
  12. %% This file is part of the LaTeX2e system.
  13. %% ----------------------------------------
  14. %%   This system is distributed in the hope that it will be useful,
  15. %%   but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. %%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  17. %%   For error reports concerning UNCHANGED versions of this file no
  18. %%   more than one year old, see bugs.txt.
  19. %%   Please do not request updates from us directly.  Primary
  20. %%   distribution is through the CTAN archives.
  21. %% IMPORTANT COPYRIGHT NOTICE:
  22. %% You are NOT ALLOWED to distribute this file alone.
  23. %% You are allowed to distribute this file under the condition that it
  24. %% is distributed together with all the files listed in manifest.txt.
  25. %% If you receive only some of these files from someone, complain!
  26. %% Permission is granted to copy this file to another file with a
  27. %% clearly different name and to customize the declarations in that
  28. %% copy to serve the needs of your installation, provided that you
  29. %% comply with the conditions in the file legal.txt.
  30. %% However, NO PERMISSION is granted to generate or to distribute a
  31. %% modified version of this file under its original name.
  32. %% You are NOT ALLOWED to change this file.
  33. %% MODIFICATION ADVICE:
  34. %% If you want to customize this file, it is best to make a copy of
  35. %% the source file(s) from which it was produced.  Use a different
  36. %% name for your copy(ies) and modify the copy(ies); this will ensure
  37. %% that your modifications do not get overwritten when you install a
  38. %% new release of the standard system.  You should also ensure that
  39. %% your modified source file does not generate any modified file with
  40. %% the same name as a standard file.
  41. %% You can then easily distribute your modifications by distributing
  42. %% the modified and renamed copy of the source file, taking care to
  43. %% observe the conditions in legal.txt; this will ensure that other
  44. %% users can safely use your modifications.
  45. %% You will also need to produce your own, suitably named, .ins file to
  46. %% control the generation of files from your source file; this file
  47. %% should contain your own preambles for the files it generates, not
  48. %% those in the standard .ins files.
  49. %% The names of the source files used are shown above.
  50. %%% From File: ltmath.dtx
  51. \ProvidesFile{fleqn.clo}
  52.         [1996/07/26 v1.1b Standard LaTeX option
  53.                                    (flush left equations)]
  54. \newdimen\mathindent
  55. \AtEndOfClass{\mathindent\leftmargini}
  56. \renewcommand\[{\relax
  57.                 \ifmmode\@badmath
  58.                 \else
  59.                   \begin{trivlist}%
  60.                     \@beginparpenalty\predisplaypenalty
  61.                     \@endparpenalty\postdisplaypenalty
  62.                     \item[]\leavevmode
  63.                     \hb@xt@\linewidth\bgroup $\m@th\displaystyle %$
  64.                       \hskip\mathindent\bgroup
  65.                 \fi}
  66. \renewcommand\]{\relax
  67.                 \ifmmode
  68.                       \egroup $\hfil% $
  69.                     \egroup
  70.                   \end{trivlist}%
  71.                 \else \@badmath
  72.                 \fi}
  73. \renewenvironment{equation}%
  74.     {\@beginparpenalty\predisplaypenalty
  75.      \@endparpenalty\postdisplaypenalty
  76.      \refstepcounter{equation}%
  77.      \trivlist \item[]\leavevmode
  78.        \hb@xt@\linewidth\bgroup $\m@th% $
  79.          \displaystyle
  80.          \hskip\mathindent}%
  81.         {$\hfil % $
  82.          \displaywidth\linewidth\hbox{\@eqnnum}%
  83.        \egroup
  84.      \endtrivlist}
  85. \renewenvironment{eqnarray}{%
  86.     \stepcounter{equation}%
  87.     \def\@currentlabel{\p@equation\theequation}%
  88.     \global\@eqnswtrue\m@th
  89.     \global\@eqcnt\z@
  90.     \tabskip\mathindent
  91.     \let\\=\@eqncr
  92.     \setlength\abovedisplayskip{\topsep}%
  93.     \ifvmode
  94.       \addtolength\abovedisplayskip{\partopsep}%
  95.     \fi
  96.     \addtolength\abovedisplayskip{\parskip}%
  97.     \setlength\belowdisplayskip{\abovedisplayskip}%
  98.     \setlength\belowdisplayshortskip{\abovedisplayskip}%
  99.     \setlength\abovedisplayshortskip{\abovedisplayskip}%
  100.     $$\everycr{}\halign to\linewidth% $$
  101.     \bgroup
  102.       \hskip\@centering
  103.       $\displaystyle\tabskip\z@skip{##}$\@eqnsel&%
  104.       \global\@eqcnt\@ne \hskip \tw@\arraycolsep \hfil${##}$\hfil&%
  105.       \global\@eqcnt\tw@ \hskip \tw@\arraycolsep
  106.         $\displaystyle{##}$\hfil \tabskip\@centering&%
  107.       \global\@eqcnt\thr@@
  108.         \hb@xt@\z@\bgroup\hss##\egroup\tabskip\z@skip\cr}%
  109.       {\@@eqncr
  110.     \egroup
  111.     \global\advance\c@equation\m@ne$$% $$
  112.     \@ignoretrue
  113.     }
  114. \endinput
  115. %% End of file `fleqn.clo'.
  116.